<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <!-- 属性绑定内联样式 -->
    <div id="app">
      <!-- <div disabled="disabled" >这是一个div</div> -->
      <img :src="url">
      <a :href="baiduurl">baidu</a>

    </div>
    <script>
        // 创建Vue的对象
        let vm = new Vue({
            el:"#app",
            data:{
                url:"https://www.baidu.com/s?wd=%E4%BB%8A%E6%97%A5%E6%96%B0%E9%B2%9C%E4%BA%8B&tn=SE_Pclogo_6ysd4c7a&sa=ire_dl_gh_logo&rsv_dl=igh_logo_pc",
                baiduurl:"http://www.baidu.com"
            }  
        })
    </script>
</body>
</html>